﻿<Window x:Class="MyFirstWpfApp.Docking"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Docking" Height="302" Width="465">
    <Grid>
        <DockPanel Height="175" HorizontalAlignment="Left" Margin="68,12,0,0" Name="myDP" VerticalAlignment="Top" Width="293" >
            <WrapPanel DockPanel.Dock="Bottom" Name="one" Height="20"></WrapPanel>
            <WrapPanel DockPanel.Dock="Top" Name="two" Height="20"></WrapPanel>
            <WrapPanel DockPanel.Dock="Left" Name="three" Width="20"></WrapPanel>
            <WrapPanel DockPanel.Dock="Right" Name="four" Width="20"></WrapPanel>
            <Button Content="Button" Name="button1"  Click="button1_Click" />
        </DockPanel>
    </Grid>
</Window>
